package com.example.hfSystem.entity.pojo;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 收藏表
 * </p>
 *
 * @since 2024-04-09
 */
@Data
@Accessors(chain = true)
@TableName("storeup")
@ApiModel(value = "Storeup对象", description = "收藏表")
public class Storeup implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户id")
    @TableField("userid")
    private Long userid;

    @ApiModelProperty("商品id")
    @TableField("refid")
    private Long refid;

    @ApiModelProperty("表名")
    @TableField("tablename")
    private String tablename;

    @ApiModelProperty("名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("图片")
    @TableField("picture")
    private String picture;

    @ApiModelProperty("类型(1:收藏,21:赞,22:踩,31:竞拍参与,41:关注)")
    @TableField("type")
    private String type;

    @ApiModelProperty("推荐类型")
    @TableField("inteltype")
    private String inteltype;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private Date createTime;


    public static final String ID = "id";

    public static final String USERID = "userid";

    public static final String REFID = "refid";

    public static final String TABLENAME = "tablename";

    public static final String NAME = "name";

    public static final String PICTURE = "picture";

    public static final String TYPE = "type";

    public static final String INTELTYPE = "inteltype";

    public static final String REMARK = "remark";

    public static final String CREATE_TIME = "create_time";

}
